package com.example.dmdomain.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.*;

@EqualsAndHashCode
@Entity
@Data
@EntityListeners(AuditingEntityListener.class)
@Table(name = "province_city")
public class ProvinceCity {

	@Id
	@Column(name = "id")
	private Integer id;

	@Column(name = "province")
	private String province;

	@Column(name = "city")
	private String city;
}
